#pragma once

#include <stdio.h>
#include <stdlib.h>

#define FOR_MAZE

#ifdef FOR_MAZE
typedef struct Point{
    int row;
    int col;
}Point;

typedef Point SeqStackType;
#else
typedef char SeqStackType;
#endif

typedef struct SeqStack{
    SeqStackType* data;
    size_t size;
    size_t capacity;
}SeqStack;
void SeqStackInit(SeqStack* s);

void SeqStackPush(SeqStack* s,SeqStackType value);

void SeqStackReSize(SeqStack* s);

void SeqStackPop(SeqStack* s);

int SeqStackTop(SeqStack* s,SeqStackType* value);

void SeqStackDestroy(SeqStack* s);
